home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFUNCS
/
FRMNLMEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-01
|
860b
|
32 lines
/**************************************************************************
* FRMNLMEN.C - frm_nlmenu(): Newline-delimited menu.
*************************************************************************/
#include "gemfintl.h"
/**************************************************************************
*
*************************************************************************/
short frm_nlmenu(options, title, strings)
long options;
register char *title;
register char *strings;
{
short status;
char *strptrs[FRM_DSMAXSTRINGS+1];
char *strpatches[FRM_DSMAXSTRINGS+1];
if (strings == NULL || *strings == '\0') {
strings = "<error: no items>";
}
_FrmNL2DS(strings, strptrs, strpatches, FRM_DSMAXSTRINGS);
status = frm_dsmenu(options, title, strptrs);
_FrmNLPatch(strpatches);
return status;
}